code: public static Point detectEnd(List<Location> subLocations, boolean isCircular) {
  		int end = 0;
  		Point lastPoint = null;
  		if(isCircular) {
  			for (Location sub : subLocations) {
  				lastPoint = sub.getEnd();
  				end += lastPoint.getPosition();
  			}
  		}
  		else {
  			lastPoint = subLocations.get(subLocations.size()-1).getEnd();
  			end = lastPoint.getPosition();
  		}
  		return new SimplePoint(end, lastPoint.isUnknown(), lastPoint.isUncertain());
  	}
docs: This will attempt to find what the last point is and returns that
  position. If the location is circular this will return the total length
  of the location and does not mean the maximum point on the Sequence
  we may find the locations on