Optimization of the beam shaping assembly in the D-D neutron generators-based BNCT using the response matrix method.