Dense array initialization issues