I believe this solution does run in a linear fashion, 1 additional calculation for each step added. But I can not get this task to pass the last criteria. Any help?