construct brick with runtime parameter