Remove overlap between spans while keeping their centers as close as possible to the specified desiredCenters.
Lower and upper bounds will be respected if the spans physically fit between them
(otherwise they'll be moved and their new position returned).
If no upper/lower bound is specified then the bounds of the moved spans will be returned.
returns a new center for each span.
Remove overlap between spans while keeping their centers as close as possible to the specified desiredCenters. Lower and upper bounds will be respected if the spans physically fit between them (otherwise they'll be moved and their new position returned). If no upper/lower bound is specified then the bounds of the moved spans will be returned. returns a new center for each span.