removing mallocs, still TLE