prevent overflowing with increments during perf test
add assert in release mode, less logging