test without density change
cleaning and minor fix