space_partition: optional storing of matrix elements.