logistics algorithm binary.com