Save memory to pass big test case 4 (still failing 5).