get sector_length automatically