dim_width doesn't neet to be hard-coded