Revert "Pooling"

This reverts commit ddc89f8bb7f5698a9c44c571a780006b5ef8deb9.
Revert "Revert "Pooling""

This reverts commit 436531e188ab1ecbe8d7743f5636ff986a0c28b6.