seg fault was due to bounding rectangle and model_view