Added option to customize bars spacing.