Weighted stationary phase of higher orders