change CS to respect lines max size.