https://vmccam.org/numeric-integration-alignment-memo/