major rewrite of generate packing classes for the basin volume method