Packing algorithm has been implemented