Computing-In-Memory Dataflow for Minimal Buffer Traffic