Effect of bio-engineering on size, shape, composition and rigidity of bacterial microcompartments