def _update_offsets(start_x, spacing, terminations, offsets, length):
return (start_x + spacing[<NUM_LIT:0>] * terminations / <NUM_LIT>,<EOL>offsets[<NUM_LIT:1>] + spacing[<NUM_LIT:1>] * <NUM_LIT> + length)<EOL>
Update the offsets