working on isolated thermal montecarlo