remove range tests

they make efficiency worse, and cause some positions to be missed