Coupling changes in cell shape to chromosome segregation