Move effect callback to the maxifill

Fixes #107