optimized reset of spins