Judge to decide whether to release Petters until trial