Implement power of 2s