I did Montessori through 5th grade; sounds a lot like that. You just kind of went from classroom to classroom as you wanted, and the teachers let you set the topic and the pace you learned at. And I still solve quadratics in my head by thinking of those blocks...