te_beamspline.cpp #1