Automated feature extraction for creating complex BIMs