Make nailboards work for sizes that aren't a power of 2.