It was the tt.mul indeed, so it seems to be related with memory issues. Thanks a lot @AlexAndorra and @junpenglao !
tt.mul