GraphEdges (int rowIndex) { int startCalculateIndex = Math.max(rowIndex - WALK_SIZE, 0); GraphEdges graphEdges = new GraphEdges(startCalculateIndex); for (int i = startCalculateIndex; i < rowIndex; i++) { graphEdges = oneDownStep(graphEdges); } return graphEdges; }