Initial code for tick alignment.