Faster version of fp