some changes in prng.c:size_adaptor()