The algorithms would allow robots to change shape and break apart in order to complete a mission in rough terrain