working on finding farthest point in component