type code, testing farthest point