Extract function to generate col of a given size
Extract function to generate headers