Resolved mistake in constructImage.py