increased dimension of delta, alfa array that caused segfault