SODA: Stencil with Optimized Dataflow Architecture