refactored render bridge to cache the vertices