expandtable - added constraints