commented out old treemaker
removed pickle
added maxLines, proper histo bounds?
maxlines