set correct max size for mega2560 (to address issue #2277)

Signed-off-by: Arnav Gupta <championswimmer@gmail.com>