Trimodal structure of Hercules stream explained by originating from bar resonances