Remove incorrect shortcut in length(int, int) method