fixes calculations of a required segment for a time values that +-(.5 * segmentDuration) from the expected value