fast inflate implementation