changed preview dimensions to powers of two