Updating: fixing initialization of stack-allocated arrays