Bump bitvec, byte slice cast, and refactor a bit (#236)

7 jobs for master in 18 minutes and 53 seconds (queued for 2 seconds)