[DEV] add distance field compisiting (not work)