checking flatness 3 point method - Search