For the (now removed) automatic chunker prototype we wanted to preserve the structure of the overall script but that is no longer of any use. The debug information is still helpful so I'd like to keep it but a simple list of blocks should be sufficient now and far less memory intensive.