Revert "inrange"

This reverts commit 299cc2bda4e683869e5b362179c80e626c2ac29f.