nearly there with rectangles. need to also check that sides of rectangles are contained in blob. check for uniqueness