Advanced numerical studies on glassy systems and Construction of Boltzmann distribution inspired by renormalization group