Add notwithin.
Optimize within encloses, touches cases.