comments about motion candidate creation and code cleanup