Remove some debug prints and unused size variables