RectangularObjectCollection Class
class procedure BuildBlocks(owner: RectangularObjectCollection; smallerObjects: RectangularObjectCollection; factory: RectangularObjectCollectionFactory; merger: RectangularObjectMerger);
Direction 0- any direction, 1-horizontal,2-Vertical