Detection and assembly of components based on automatic obstacle avoidance algorithm and BIM | Synapse