(added) - some corrections on vegType calculation