Fix the spatial complexity