begin inffast implementation