set the right declaration sizes