2d map, physics, and vptree implementation for sv