Improve advancement performance by stubbing the SAM, don't initialise on every call (commit: bbd4512)