allocate memory for constants