boolean check method of finding connections is 50-7-% faster