brest_matrix_rollercoaster