finalized spherecollatz