Hamilton will fine owners of abandoned buildings