fixed bug in basis selection - break missing; timing