Should those accused of violent acts be subjected to preventive detention instead of bail, even though they have not been convicted of a crime?

Should those accused of violent acts be subjected to preventive detention instead of bail, even though they have not been convicted of a crime?What purpose does a grand jury or preliminary hearing serve in adjudicating felony offenses?Should this method be abandoned?If so, which one?