Project Euler Problem 10 Mk2.5... Still blows the stack