Zaslat záznam emailem: Learning the structure of the world: The adaptive nature of state-space and action representations in multi-stage decision-making