Minimised moving distance algorithm for geometric deployment of robot swarms