vectorize gen_block_mesh(), new get_tensor_product_cells()