Make charge a function of size