Decentralizing formations of multi-agent systems