created substitution per clone histograms
some bug fixes plus aggregated base exchange tables