Distance checks added to the plan simulation layer.