updated BitSwapper.cs