found an error in the replacement policy selection code which was messing up the results