Optimized returning values in lua::Value class and get_n_pop function