renderChunks is performed a lot of times depending on number of contacts, then we have a lot of the unneeded allocations. appendContact method should be created out of renderChunks, at the same level