Move polyline curve segments


So, i have a set of polylines, that represent one floor, but their lengths are not rounded up. So i want to go from lengths 9999.953 to go to 10000 with corners staying 90 degrees.