Rename checkOffset() to constrainOffsets()