If you use the blockData function this can easily be replaced with simple random sample of the blocked data