computing resolution for comparison to examples