Safety distance for wafer heating