bin pack problem