fixed proximity score generation