Improved cube selecting