bug correction and Bug #18 in https://fairroot-redmine.gsi.de/issues/18
no more than 256 different pdg is allowed by TGeoManager
coverity bug 10345