cleanup spatial hash a bit