Small static calls optimization