use a small maximum distance when computing hazard at exact locations