Fix the bug in Dumping interval, it should be 2**n - 1 or else dumping happens too often.