aviator algorithms