just write new tracks to the meanshifting grid
bugfix: select correct elements
merged the duble fix to one