bram initialize for sqrt