added relative scale support
dist