Add modifications for distance fields (Git huh?)