Fully integrate hierarchy sequence and make many improvements