improve binary put and get