Get updated positions by const reference. Closes #340.