videowall: rewrite allocation method