refacting to remove dead code in decoder surface pool