Added a size limit to the ram object

If the job will fit in ram with the total size equal to or under 100
instructions then it will add it.