lw bubble logic implemented, but still flawed