Removing the redundant reads of lednumber in the axis data loops