Geometric constraints during epithelial jamming