moved size constants to one central place