Sampling in statistical multifragmentation of nuclei