Fix all off-by-1 errors in EMC mapping