rectangleSearch3 tweak