improved function for creation of parcel number