test 3d histos worked, now replace everything by 3d histos