vp7: try to reduce branches in hotpaths and split init tables