parralalized distance field generation.