better check in SLine::layout()