The effect of flake thickness on the intercalation of graphite