Fix scene size problem, add classification routine