Updated buffer / double->coordinate_type Added buffering new approach (per segment), do not use this yet.