Implemented limits on number of strings with charges