cache paragraph positions