Updated Underscore method partition