Add sumwidth to deal with improve performance