modification to activate spatial extension search