Modified block_array module