Use different PointVec constructor.
The 'new' PointVec constructor use as argument a map instead of unique_ptr. This makes the code more readable and understandable.
The 'new' PointVec constructor use as argument a map instead of unique_ptr. This makes the code more readable and understandable.