Revert "getRelevantBits now uses bt from core.bitop"

This reverts commit 350f2c9b07ecf1c407b743282d2eae354c8b8b3c.