The document of Julia says that the setindex! is only partially implemented for tuples so I suspect this is the reason why I have to change into array