Distance field computation seems amenable to a scan-line algorithm and may be a rate-limiting step in Kimimaro.