processed all binary arrays incorporating scale factors, variable number of layers, and interleaved K-factors