Updated Aim4Nearest that uses multithreading and accounts for multiple lowest values