Whoops, overwrite the rebase method accidentally.
Do a double loop when calculating position data.