@staticmethod
def white_vertical_length_carryover_end(sub_matrix):
    """
        End index of the sub matrix specific segment of the global white vertical length carryover array.

        :param sub_matrix: Sub matrix.
        :return: White vertical length carryover end.
        """
    return sub_matrix.start_x + sub_matrix.dim_x
