more logging and fix for sketch width and breadth