On the incommensurate phase formation at finite temperatures