A tool for building cores from PENMSHXP assembly models