Everything is a stage
Removed unnecessary dense node calculations, and uses dynamically growing rel group cache