feature: More debug logging during integration.
fix: A very subtle bug. Wrong order of integration limits results in wrong integration results.

close #5