changed to adaptive sizes for debugging