added lines sharing

Added the beginning of the processing for sharing modifier lines