Added a optional parameter to allow for setting the size of the token