A virtual maze that reconfigures itself after every trial revealed that unstable environments impose measurable costs on ...