Finally working with cols=640; now actually testing with full implementation