Changed to using referenceDensity at boundary.