Improved efficiency in Monte Carlo simulation for passive-scattering proton therapy