Largest Area Fit First (LAFF) 3D box packing algorithm class for PHP