change to one MAX_OFFSET_VALUE