Updated RG tracker with slight performance improvements.