Added the full logic from the Chunker to the Bar