Work with copies of vectors in hill climbing code.