Quantify the inside of molds to improve quality and reduce production costs