added finer bining for total charge