implementation of facility location on Giraph