Nifty hit all-time high