Numerical tricks for studying large rare fluctuations