Ported the schematic-to-mass-number problem.