demo pyramid invariance