Separate the building of ROC object from input checking for faster bootstrap