A flexible bus line planning