matrix-data: Only use as many bytes as necessary to initialize string.