Uniform memory allocation fixed.