made bar length relative