Formation of thin current sheets in a quasistatic magnetotail model