Fixed this by removing all the non working dimensions stuff in the code to just presume theres one parcel. :)