pathview/PathItem3D: improved readability and implemented missing
extents calculation