Oops, using constant for density instead of the variable.