How size and reproduction are linked in bacteria