; (ii) may remain on community supervision until the conclusion of the prisoner’s sentence; and (iii) may only be placed on community supervision if the duration of the prisoner’s eligibility for community supervision is equal to or longer than the duration of the prisoner’s remaining period of prerelease custody. (C) Residential reentry center A prisoner placed in prerelease custody pursuant to this subsection who is placed at a residential reentry center shall be subject to such conditions as the Director of the Bureau of Prisons determines appropriate. (5) Determination of conditions In determining appropriate conditions for prisoners placed in prerelease custody pursuant to this subsection, the Director of the Bureau of Prisons shall, to the extent practicable, provide that increasingly less restrictive conditions shall be imposed on prisoners who demonstrate continued compliance with the conditions of such prerelease custody, so as to most effectively prepare such prisoners for reentry. (6) Violations of conditions If a prisoner violates a condition of the prisoner’s prerelease custody, the Director of the Bureau of Prisons may revoke the prisoner’s prerelease custody and require the prisoner to serve the remainder of the term of imprisonment to which the prisoner was sentenced, or any portion thereof, in prison, or impose such additional conditions on the prisoner’s prerelease custody as the Director of the Bureau of Prisons determines appropriate. (7) Issuance of guidelines The Attorney General, in consultation with the Assistant Director for the Office of Probation and Pretrial Services, shall issue guidelines, for use by the Bureau of Prisons in determining— (A) appropriate type of prerelease custody and level of supervision for a prisoner placed on prerelease custody pursuant to this subsection