Mixing action planning and motion planning in building representation for assemblies