topcoder rectangles