simplified, optimized Space.hs, now caching is built-in!