huge optimizations on hv