use num_threads in calls to shrink_sphere_center

add option to use ``num_threads`` in calls to ``shrink_sphere_center`` -- otherwise it uses all cores by default which can cause problems.