runtime code modification for imglib2