States are now stored as a hash map, enabling continual planning.