Which factors are examined when determining pretrial release?