Ahem. Don't invert the length _twice_.