New approximation to the third-order density: application to the calculation of correlated multicenter indices