public int expansionNeeded(AABB other)
	{
		int total = 0;

		if(other.minx < minx) total += minx - other.minx;
		if(other.maxx > maxx) total += other.maxx - maxx;

		if(other.miny < miny) total += miny - other.miny;
		if(other.maxy > maxy) total += other.maxy - maxy;

		return total;
	}