XYZ range in usrbin card

Dear Li,

The value of Z is correctly sampled even in your first source routine. If you score ALL-PART instead of DOSE, it is clearly visible.

One thing is not clear to me, if you want to sample on the surface of the AGGG region (in this case the sampling is correct), or in the volume (here you need to sample the radius correctly as well.)

For the problem of isotropic direction see:

Cheers,
David