GraphEdges (int rowIndex) { int endCalculateIndex = Math.min(rowIndex + WALK_SIZE, myGraph.nodesCount() - 1); GraphEdges graphEdges = new GraphEdges(endCalculateIndex); for (int i = endCalculateIndex; i > rowIndex; i--) { graphEdges = oneUpStep(graphEdges); } return graphEdges; }