Faster processing for integer axis arguments