Calculate iHS over a genome