Improved logic allows arbitrary children width.