changed rmax from comet to 1e9 m