jailing may only be used when no other less restrictive option