Replace maxPreTransitDistance with maxPreTransitTime