adding spatial index