Added resizing of constraint optimizer's solve input