Added merge method to try and merge obstacles. Not working