Refactor level gen for generation process visualization