Ring locality

Fixes #8 

Do not merge until #7 has been merged.