Function that returns powerset of packed dolls is in palce