randomly generate blocking pattern

Signed-off-by: Martin Ankerl <martin.ankerl@gmail.com>