Changed mesi code above lru

Changed mesi bits to be above manage lru so lru will work properly