Have you tried using angles instead of directions?