acmer algorithm