Added a pool layer to shadow model