Stage 2 clustering: fix H/E calculation