Fixed two stability issues. Added sharding and balancing strategies