stable srand