Create segmentation.js