modified PHITS code