More work on box2D implementation