" The preliminary question to be asked and answered is whether there are any alternatives to the imposition of a term of imprisonment. Section 5 of the act prohibits a court from imposing a sentence of imprisonment unless the court is satisfied having considered all possible alternatives that no other penalty other than imprisonment is appropriate…Having determined that there is no other penalty appropriate other than a sentence of imprisonment the court is next to determine what the term of the sentence should be… the determination of the term is to be made without regard to whether the sentence will be immediately served or the manner in which it is to be served. This is because of the alternatives available in respect of a sentence of imprisonment can only be considered once the sentence has been imposed, see s.6 (periodic detention order), s7 (home detention order) and s.12. It follows that the term of the sentence cannot be influenced by what order might be made after the sentence has been imposed. For example it cannot be increased because it is to be served by way of periodic detention R -v- Wegener [1999] NSWCCA 405 or by home detention: R -v- Jurisic (1998) 45 NSWLR 209 at 249. Nor can the term be reduced because an otherwise appropriate alternative is available."