Better randomness in path generation