Malinin and dotted curved path intersecting rectangles