Improved creation time of sparse matrices (limited to 65536x65536)