Debugged QuickSelect