BTC Algorithm Complexity