Renormalization group and free energy calculations for spin systems