FIX: still working on constant shape specialization