Two different approaches were adopted considering the location of the masses