Fixed another array pointer wrapped around bug
Now it seems to work for fix sized array.