const correctness for eui conversion