Added coord generation to sthAddr-class