Fix one stack overflow, still very slow but thats another problem