when I look at the hex dump both versions end at rom 00b8 so i'm not sure how to really compare the size
I'm wrong again was looking at wrong file . the pbp version is 341 words c version 181.
also the pbp version has a redundant for/next loop removing it saves 28 words
surprisingly the int latency has increased by 4uS by removing it ???