the trjconv function calls option '-b' for both first_frame_ps and last_frame_ps. should be changed to '-e'