Version with reference hits vector.
a