mod by the max safe int to correctly generate worlds for very large inputs. apparently ROT doesn't like xxe+50 as a seed.