The grid-dose-spreading algorithm for dose distribution calculation in heavy charged particle radiotherapy.