static assert is enough

Change-Id: I51be076119b23611f006fb4ebefd8f4bb727ded8