Block randomization for RANDI2 (>=v0.9)