trying to measure 'goodness' of resolution