Another Vertical View: A Hierarchical Network for Heterogeneous Trajectory Prediction via Spectrums