A fast algorithm for the rectilinear distance location problem