square_length renamed to squared_length