Merge "Move range checks into WRAPLOW"