More Efficient and Accurate Simulations of Primary Radiation Damage in Materials with Nanosized Microstructural Features or~Ion~Beams