set size to staticobstacle