fix: compiling...
more efficient stepfunction