Viability mechanisms in market systems: prerequisites for market shaping