Efficient IA, still memory leaks