modified history length