Fix error in computeOffsets when there is a leading space.