code: public List<Integer> getFirstRepeats(int level) {
  		List<Integer> firstRepeats = new ArrayList<Integer>();
  		int m = getNumRepeats(level+1); //size of the level
  		int d = axes.get(level).getOrder(); //degree of this level
  		int n = m*d; // number of repeats included in each axis
  		for (int firstRepeat = 0; firstRepeat < getNumRepeats(); firstRepeat+=n)
  			firstRepeats.add(firstRepeat);
  		return firstRepeats;
  	}
docs: Get the first repeat index of each axis of a specified level.
  @param level level of the tree to cut at
  @return List of first Repeats of each index, sorted in ascending order