Made translateChain size random.