calculate spinner shell layer by layer