A heuristic for large-scale p-median instances