Cleaned up size module