align ends with their starts