Adding possibility to set relative width based on gap between domain values