A custom designed density estimation method for light transport