more robust parsing of width values; use hsize for table layout