The following three factors, among others such as legal and cost considerations, would have to be considered: (1) formulation of policies and practices for housing the detainees; (2) ensuring the safety of facility personnel, the detainees, and the general public; and (3) identifying adequate space for housing the detainees and maintaining separation of detainees from the current inmate population