added recursive marking
Merge branch 'png' of github.com:PP-TSD/sdgen into png