hubposition and r (by smallest distance) implemented