2D Floor Plan Segmentation Based on Down-sampling