Distributed Multi-Robot Algorithms for the TERMES 3D Collective Construction System