fix fly method with similar triangles