store ff-bits, remove it from argument list of region-learn/layer-learn.
encapsulate transient state of LayerOfCells for clarity.