* commit '109da7dfd4c0766274b17467880ee673c731735c': Allocate layers from the layers pool. Bug #3413433