use struct member width_set/height_set to replace static width/height.