can call destructor on constant objects
also use base::clear
redone merging of chunk contigs except for mapping inversion