Optimized beam shaping assembly for a 2.1-MeV proton-accelerator-based neutron source for boron neutron capture therapy