added possibility to find range of points
added new directions