private int computeHeight(TPoint[] points) {
		int maxY = points[0].y;  
		int minY = points[0].y;
		for (int i = 1; i < points.length; i++) {
			TPoint currentPoint = points[i];
			if (currentPoint.y > maxY) maxY = currentPoint.y;
			if (currentPoint.y < minY) minY = currentPoint.y;			
		}
		// + 1 is to account for differences in coordinates and actual width
		int width = maxY - minY + 1;
		return width;
	}