#KT-14650 Fixed Note that after this change behaviour of '%' on BigInteger is changed, now it works like a proper remainder