Store triggers in NSSet

This speeds up retrieval of all heights for a given step.
Update example