Layerwise zig-zag model with selective refinement across the thickness