seed: double -> unsigned int