How biofilms influence morphology