restrict scatter.hpp to row-row, col-col temporarily