fixing issue while parsing deployment policy for group
fixing partition algo issue