use spatial-memories branch