add new segmentation procedure which produces non-optimal rectangles
Add common interface to both segmentation functions