Attempting to stop the memory leaks in Physics