The heat-kernel and the average effective potential