functions to cut spatial lines to segments with even length
description of documents