improve precission of the heat diffusion calculation