Add basic support for capacity. Modify pop functions to delete nodes outside locked regions.