Finite size correction of a charged supercell