Convert bricks to a std::vector