Added clarification about length of the density array