Use random for block length