Fix lw4o6 calculation