How to resolve direction in using context steering behavior to move around target?

My script:
public class ContextResolver : MonoBehaviour
{
[SerializeField]
private bool showGizmoz = true;
float[] interestGizmo = new float[0];
Vector2 resultDirection = Vector2.zero;
private float rayLength = 0.16f;
private void Start()
{
interestGizmo = new float[16];
}
public Vector2 GetDirectionToMove(List<SteeringBehavior> behaviours,AIData aIData)
{
float[] danger = new float[16];
float[] interest = new float[16];
foreach(SteeringBehavior behavior in behaviours)
{
(danger,interest) = behavior.GetSteering(danger,interest,aIData);
}
for(int i = 0; i < 16; i++)
{
interest[i] = Mathf.Clamp01(interest[i] - danger[i]);
}
interestGizmo = interest;
Vector2 outputDirection = Vector2.zero;
for (int i = 1; i < 16; i++)//temp - using only half vector
{
outputDirection = (Directions.eightDirections[i] * interest[i]).magnitude > outputDirection.magnitude ? Directions.eightDirections[i] * interest[i] : outputDirection;
}
outputDirection.Normalize();
resultDirection = outputDirection;
return resultDirection;
}
}