Automatic building feature detection and reconstruction in IFC models