Size issue

Add wards to prevent code burst due to constant folding or loop unrolling.