semi-working 3d density map