Java988 - MaxDistance for 3.0