Flattened Layers with out actually flattening the layers