[fix] Bug found in 341caae; rewrite unfold_lines
[ref] Project structure