attribute distance threshold