added ability to specify tick size