Amylose recognition and ring-size determination of amylomaltase