sfdir's length is now calculated at compile-time

earrlen() from EE used for finding length of arrays at compile-time