wessonsm, thanks. I forgot that it can be solved by math lol.
Umm. Usually, I would use &(variable) for booleans. My (isDoubleWide) and (isAvailPos) are either 0 or 1. I believe we were introduced &(variable) some versions around ERA 3.5, it equals to &(variable)>(FALSE). Is that a bad practice though?