public int getApproxPDistance(Position target) {
		int min = Math.abs(x - target.x);
		int max = Math.abs(y - target.y);
		if (max < min) {
			int temp = max;
			max = min;
			min = temp;
		}
		
		if (min < (max >> 2))
			return max;
		
		int minCalc = (3 * min) >> 3;
		return ((minCalc >> 5) + minCalc + max - (max >> 4) - (max >> 6));
	}