let
rem_steps = ref 0