It seems like this would effectively be the same as an integral, but instead of summing the areas of increasingly thin rectangles, you're summing the areas of increasingly small squares. Is there a reason that they're not equal? Here's my visual interpretation: