prediction size front end

Sorry about the old branch. Remove when merged.