This is implementation of HeadHunter test for calculating instersecting rectangles