* commit '5bfd1afffe361958682bcb899b763ce35ec00c3a': Allocate layers from the layers pool. Bug #3413433