density contrast gradient