private int startY(Point[][] matrix) {
        for (Point[] aMatrix : matrix) {
            for (int col = 0; col < matrix[0].length; col++) {
                if (aMatrix[col] != null) {
                    return aMatrix[col].y - col;
                }
            }
        }
        throw new RuntimeException();
    }