In order to have a fast pivtot which does not consume a lot of memory, it should not create too much elements on the DOM.