best to release the accused to a program that “best suits his condition” rather than keep him in custody