new structure for constraint in map