An improved chain of spheres for exchange algorithm