unsafeSet and unsafeSetForAllLevels for thread-unsafe operations for cyclic calls + tests