split dom to smaller chunks