Hysteretic properties of nanostructured terbium films