Issue #24224:normalize margin calculations

never mind... the revised view in https://github.com/xtuple/xtuple/pull/1714 addresses this