inline & tweak variable_long, read_small_long is the only caller