Two spheres pump in the presence of a flat boundary