You should have taken it back home, cancelled the first label, re-measured and weighed the item and printed another label.  There are warnings when you print the label to check the size and weight.  Even if the parcel is 2mm over in size you can be fined heavily.