While this script is very much excellent - am I wondering why it often produces stupid-sized files ? (I mean like, gig-sized files from 640x640 files)

While the placement process may be intensive, the end result is basically a bunch of lines - what am I not understanding/doing wrong ?