gen_steps dict -> list