Freestyle line at shapes intersection?

I’m currently play with Freestyle rendering, but can’t find, how to make it draw lines where two shapes intersect? See picture. I’ve highlighted the problem regions with green marker.