Update bfstm for any header size
Merge pull request #11 from soneek/master

Update bfstm for any header size