build order naming and resource depended edit distance