KSpace should not be passed by value, prefer const KSpace &