continuousCostanzaMultiLevel function implemented
Costanza paper example scene 1