Fixed bug when there was possibility to use canonical representaion constructor even in case when base has more than one digit. Also, fixed bug with too large base.