try to solve packing problem