add sphere fitting