Humans plan for the near future to walk economically on uneven terrain