preallocating wIm