DBCSR: Improved stack binning (Joost)