Add GetMax and GetMin in StaticEntity