public static bool IsRecommendedDimension( int dimension ) { return dimension >= 16 && ( dimension & ( dimension - 1 ) ) == 0 && dimension <= 1024; }