Added substitution values calculation for the integration by parts