decomposite facade images into distinct rectangles