Improve digit spinning implementation