add an algorithm for placing all rectangles into an known large rectangle and return the information.