optimize allocate()ion of zeroinit