Finished new slope/angle assignment method. Produces much smoother 3d distnace map. But still doesn't 3d cut well.... :(