em400: cycle optimization