Added step option for hitTest functions

step allow to reduce quality of hitTest with a large increase in
performance