coverage calculation improved