fix for calculating max treatment needed in !implantdesigner results