Some beginnings of SmartContainer implementation with FFDH packing algorithm; occasionally crashes on bad sizing