create uniform segments