An algorithm for predicting the steady state behavior of binary CNNs