avoid preallocation error that seems to be triggered by blocked matrix storage