Update RectanglePacking.php