Hunt and kill algorithm