Refined bin packing