Construct testing data explicitly.
Test improved for more than 2**32 n_all