Add maximum 'offset' limits, in case someone calls it with stupid values