fixed bug with gempile for choosing stuffness