minor optimizations to varblez