patched small distances